package com.max.eshop.UI.userinterface;

public class Button {

	private String name;
	private Action action;
	private Menu nextMenu;

	public Menu getNextMenu() {
		return nextMenu;
	}

	public void setNextMenu(Menu nextMenu) {
		this.nextMenu = nextMenu;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public Action getAction() {
		return action;
	}

	public void setAction(Action action) {
		this.action = action;
	}

	public Button(String name, Action action,Menu nextMenu) {
		this.setName(name);
		this.setAction(action);
		this.setNextMenu(nextMenu);

	}

}
